package com.example.dlna;

import java.net.URL;

/**
 * 程序运行时缓存
 */
public class Cache {

	private URL url;

	private static Cache instance;

	public static Cache getCache() {
		if (null == instance)
			instance = new Cache();
		return instance;
	}
	
	public URL getUrl() {
		return url;
	}

	public void setUrl(URL url) {
		this.url = url;
	}

	public static void destroy() {
		instance = null;
	}
}
